package net.xinqushi.socket.nio;

import java.nio.channels.SelectionKey;
import java.util.ArrayList;
import java.util.List;

/**
 * @author xjie 2019/7/18 14:57
 * @description
 */
public class Test {
    public static void main(String[] args) {
        int i = SelectionKey.OP_READ
                | SelectionKey.OP_WRITE
                | SelectionKey.OP_CONNECT;
        System.out.println(Integer.toBinaryString(~i));
    }
}
